package com.gitee.minimalismstyle.fresh.flowable.api.service

import com.gitee.minimalismstyle.fresh.common.core.domain.R
import com.gitee.minimalismstyle.fresh.flowable.api.model.FlowSubmitData
import com.gitee.minimalismstyle.fresh.flowable.api.model.TaskAction
import org.springframework.web.bind.annotation.PutMapping
import org.springframework.web.bind.annotation.RequestBody

interface FlowSubmitService<T> {

    @PutMapping("submit")
    fun submit(@RequestBody flowSubmitData: FlowSubmitData<T>): R<FlowSubmitData<T>>
}